package com.online.teaching.module.admin.user.domian.dto;

import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.persistence.Column;
import javax.validation.constraints.NotNull;

/**
 * @ClassName : TeacherAddDTO  //类名
 * @Description : 添加老师前端传参实体类  //描述
 * @Author : YG  //作者
 * @Date: 2020-11-04 18:13  //时间
 */
@Data
public class TeacherAddDTO extends UserAddDTO {

    @ApiModelProperty(value = "学生学号或者教师教工号")
    @NotNull
    private String userAccount;

    @ApiModelProperty("教师名称")
    @NotNull(message = "请输入正确的名字")
    private String teaName;

    @ApiModelProperty("教师自我介绍")
    private String teaIntroduction;

    @ApiModelProperty("教师email")
    private String teaEmail;

    @ApiModelProperty("教师院系")
    private String department;
}
